package com.sdry.mapper.zc;

import java.util.List;

import com.sdry.model.zc.ZcApproverResultEntity;
import com.sdry.model.zc.ZcDisposeRejectsEntity;
import com.sdry.model.zc.ZcProductTestEntity;
import com.sdry.model.zc.ZcQueryCriteria;

/**
 * 
 * @ClassName:    ZcDisposeRejectsApprovalMapper   
 * @Description:  不合格处置审批
 * @Author:       zc   
 * @CreateDate:   2018年11月1日 下午2:43:38   
 * @Version:      v1.0
 */
public interface ZcDisposeRejectsApprovalMapper {
	/**
	 * 查找不合格处置列表
	 * @param zcQueryCriteria
	 * @return
	 */
	public List<ZcDisposeRejectsEntity> selectDisposeRejectsList4Me(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 查找不合格处置列表数目
	 * @param zcQueryCriteria
	 * @return
	 */
	public int countDisposeRejectsList4Me(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 提交审批
	 * @param zcApproverResultEntity
	 * @return
	 */
	public int submitApprover(ZcApproverResultEntity zcApproverResultEntity);
	/**
	 * 查找不合格处置列表
	 * @param zcQueryCriteria
	 * @return
	 */
	public List<ZcDisposeRejectsEntity> selectDisposeRejectsList2Android(String worker);
	/**
	 * 查找我发起的审批
	 * @param zcQueryCriteria
	 * @return
	 */
	public List<ZcDisposeRejectsEntity> selectMyApprovelList(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 查找我发起的审批数目
	 * @param zcQueryCriteria
	 * @return
	 */
	public int countMyApprovelList(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 查找我已审批的处置单
	 * @param zcQueryCriteria
	 * @return
	 */
	public List<ZcDisposeRejectsEntity> selectMyAlreadyApprovelList(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 查找我已审批的处置单数目
	 * @param zcQueryCriteria
	 * @return
	 */
	public int countMyAlreadyApprovelList(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 查找抄送我的的处置单
	 * @param zcQueryCriteria
	 * @return
	 */
	public List<ZcDisposeRejectsEntity> selectCopyMeApprovelList(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 查找抄送我的处置单数目
	 * @param zcQueryCriteria
	 * @return
	 */
	public int countCopyMeApprovelList(ZcQueryCriteria zcQueryCriteria);
	/**
	 * 安卓查询我发起的审批
	 * @param worker
	 * @return
	 */
	public List<ZcDisposeRejectsEntity> selectMyApprovelList2Android(String worker);
	/**
	 * 安卓查询我已完成的审批
	 * @param worker
	 * @return
	 */
	public List<ZcDisposeRejectsEntity> selectMyAlreadyApprovelList2Android(String worker);
	/**
	 * 安卓查询抄送我的审批
	 * @param worker
	 * @return
	 */
	public List<ZcDisposeRejectsEntity> selectCopyMeApprovelList2Android(String worker);
	/**
	 * 通过id查询处置单
	 * @param dId
	 * @return
	 */
	public ZcDisposeRejectsEntity selectZcDisposeRejectsEntity(String dId);
	/**
	 * 通过组件条码查询质检单信息
	 * @param code
	 * @return
	 */
	public ZcProductTestEntity selectProductTestByCode(String code);
}
